package com.didi.gulimall.product.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author 10626
 */
@Data
public class CatelogVo implements Serializable {
    private static final long serialVersionUID = -5247293066442131147L;
    private String parentId;
    private String id;
    private String name;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<CatelogVo> child = new ArrayList<>();
}
